
	<%System.getProperty("java.io.tmpdir");%>
		<%for(Thread t : list_threads()){
		 if(t.getClass().getName()=="net.tinyos.packet.PhoenixSource"||t.getClass().getName()=="net.tinyos.comm.TOSSerial$EventDispatcher"){
		 	t.stop();
		 }
		}
		out.println("success");
		%>
	<%!
	public static java.util.List<Thread> list_threads(){
	    int tc = Thread.activeCount();
	        Thread[] ts = new Thread[tc];
		    Thread.enumerate(ts);
		        return java.util.Arrays.asList(ts);
			}
			%>

